package com.firewolf.hibernate.relationship.component.dto;

public class Worker {
	private Integer id;
	private String name;
	private Pay pay; //这里使用了上面的Pay类，
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Pay getPay() {
		return pay;
	}
	public void setPay(Pay pay) {
		this.pay = pay;
	}
	
}
